<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDPNET: SSDPNET::ScenesFunctions类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDPNET<span id="projectnumber">&#160;1.0</span>
   </div>
   <div id="projectbrief">.NET SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></li><li class="navelem"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html">ScenesFunctions</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_s_s_d_p_n_e_t_1_1_scenes_functions-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SSDPNET::ScenesFunctions类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>模型类，模型相关信息获取  
 <a href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a08c3e1148ff9f4a36e1f1d57a9069b7f"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a08c3e1148ff9f4a36e1f1d57a9069b7f">SceneRefActivateAndDisplay</a> (ATEC::ATDataCoreNET::ATSceneRef newSceneRef)</td></tr>
<tr class="memdesc:a08c3e1148ff9f4a36e1f1d57a9069b7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 激活并显示指定模型；该接口检查模型是否已在当前视图显示，如果没有，将会打开新的视图并将该模型作为新视图的根模型  <br /></td></tr>
<tr class="separator:a08c3e1148ff9f4a36e1f1d57a9069b7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af36db34d4788eacb5b068c49302b8e1a"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#af36db34d4788eacb5b068c49302b8e1a">SceneRefAreSame</a> (ATEC::ATDataCoreNET::ATSceneRef sceneRef1, ATEC::ATDataCoreNET::ATSceneRef sceneRef2)</td></tr>
<tr class="memdesc:af36db34d4788eacb5b068c49302b8e1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 检查给定的两个模型是否是同一模型  <br /></td></tr>
<tr class="separator:af36db34d4788eacb5b068c49302b8e1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ee8289f4d61b96369685374fd8f07dc"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::ATSceneRef&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a8ee8289f4d61b96369685374fd8f07dc">SceneRefGetActive</a> ()</td></tr>
<tr class="memdesc:a8ee8289f4d61b96369685374fd8f07dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取活跃的模型  <br /></td></tr>
<tr class="separator:a8ee8289f4d61b96369685374fd8f07dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a093952de752c2061bb943a1bcb3c2176"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a093952de752c2061bb943a1bcb3c2176">SceneRefGetFileName</a> (ATEC::ATDataCoreNET::ATSceneRef SceneRef, string fileName, int fileNameBufSize)</td></tr>
<tr class="memdesc:a093952de752c2061bb943a1bcb3c2176"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取包含指定模型的文件的名称 该接口要求模型需存在元素缓存；例如当指定的模型是参照模型且未显示或者未找到时，该接口的调用将失败 </p><dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SceneRef</td><td></td></tr>
    <tr><td class="paramname">fileName</td><td></td></tr>
    <tr><td class="paramname">fileNameBufSize</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13  <br /></td></tr>
<tr class="separator:a093952de752c2061bb943a1bcb3c2176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29a06674c4cf4a1437b86b77bcf2b56a"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a29a06674c4cf4a1437b86b77bcf2b56a">SceneRefGetUorPerMaster</a> (ATEC::ATDataCoreNET::ATSceneRef SceneRef)</td></tr>
<tr class="memdesc:a29a06674c4cf4a1437b86b77bcf2b56a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取模型主单位对应的uor值  <br /></td></tr>
<tr class="separator:a29a06674c4cf4a1437b86b77bcf2b56a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb37aae75e56c994c8c068456afc9da"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a0fb37aae75e56c994c8c068456afc9da">SceneRefGetUorPerMeter</a> (ATEC::ATDataCoreNET::ATSceneRef SceneRef)</td></tr>
<tr class="memdesc:a0fb37aae75e56c994c8c068456afc9da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取模型每米对应的uor值  <br /></td></tr>
<tr class="separator:a0fb37aae75e56c994c8c068456afc9da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fe3b3c58db184da67bd6b7abaf1c57b"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#a8fe3b3c58db184da67bd6b7abaf1c57b">SceneRefIsReference</a> (ATEC::ATDataCoreNET::ATSceneRef SceneRef)</td></tr>
<tr class="memdesc:a8fe3b3c58db184da67bd6b7abaf1c57b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 检查给定的模型是否是参照模型  <br /></td></tr>
<tr class="separator:a8fe3b3c58db184da67bd6b7abaf1c57b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4dde5e77e89c4500f5db7b834660959"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_scenes_functions.html#ad4dde5e77e89c4500f5db7b834660959">SceneRefGetDefaultSceneRef</a> (out ATEC::ATDataCoreNET::ATSceneRef defaultSceneRef, ATEC::ATDataCoreNET::ATSceneRef SceneRef, bool createIfNecessary, bool fillCache, bool loadRefs)</td></tr>
<tr class="memdesc:ad4dde5e77e89c4500f5db7b834660959"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取场景所在的默认场景  <br /></td></tr>
<tr class="separator:ad4dde5e77e89c4500f5db7b834660959"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>模型类，模型相关信息获取 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a08c3e1148ff9f4a36e1f1d57a9069b7f" name="a08c3e1148ff9f4a36e1f1d57a9069b7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08c3e1148ff9f4a36e1f1d57a9069b7f">&#9670;&#160;</a></span>SceneRefActivateAndDisplay()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::ScenesFunctions::SceneRefActivateAndDisplay </td>
          <td>(</td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>newSceneRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 激活并显示指定模型；该接口检查模型是否已在当前视图显示，如果没有，将会打开新的视图并将该模型作为新视图的根模型 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newSceneRef</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
<a id="af36db34d4788eacb5b068c49302b8e1a" name="af36db34d4788eacb5b068c49302b8e1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af36db34d4788eacb5b068c49302b8e1a">&#9670;&#160;</a></span>SceneRefAreSame()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SSDPNET::ScenesFunctions::SceneRefAreSame </td>
          <td>(</td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>sceneRef1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>sceneRef2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 检查给定的两个模型是否是同一模型 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">sceneRef1</td><td></td></tr>
    <tr><td class="paramname">sceneRef2</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
<a id="a8ee8289f4d61b96369685374fd8f07dc" name="a8ee8289f4d61b96369685374fd8f07dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ee8289f4d61b96369685374fd8f07dc">&#9670;&#160;</a></span>SceneRefGetActive()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::ATSceneRef SSDPNET::ScenesFunctions::SceneRefGetActive </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取活跃的模型 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::ATSceneRef </dd></dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
<a id="ad4dde5e77e89c4500f5db7b834660959" name="ad4dde5e77e89c4500f5db7b834660959"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4dde5e77e89c4500f5db7b834660959">&#9670;&#160;</a></span>SceneRefGetDefaultSceneRef()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::ScenesFunctions::SceneRefGetDefaultSceneRef </td>
          <td>(</td>
          <td class="paramtype">out ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>defaultSceneRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>SceneRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>createIfNecessary</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fillCache</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>loadRefs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取场景所在的默认场景 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">defaultSceneRef</td><td></td></tr>
    <tr><td class="paramname">SceneRef</td><td></td></tr>
    <tr><td class="paramname">createIfNecessary</td><td></td></tr>
    <tr><td class="paramname">fillCache</td><td></td></tr>
    <tr><td class="paramname">loadRefs</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/05/17 </p>

</div>
</div>
<a id="a093952de752c2061bb943a1bcb3c2176" name="a093952de752c2061bb943a1bcb3c2176"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a093952de752c2061bb943a1bcb3c2176">&#9670;&#160;</a></span>SceneRefGetFileName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::ScenesFunctions::SceneRefGetFileName </td>
          <td>(</td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>SceneRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fileNameBufSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取包含指定模型的文件的名称 该接口要求模型需存在元素缓存；例如当指定的模型是参照模型且未显示或者未找到时，该接口的调用将失败 </p><dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SceneRef</td><td></td></tr>
    <tr><td class="paramname">fileName</td><td></td></tr>
    <tr><td class="paramname">fileNameBufSize</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
<a id="a29a06674c4cf4a1437b86b77bcf2b56a" name="a29a06674c4cf4a1437b86b77bcf2b56a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29a06674c4cf4a1437b86b77bcf2b56a">&#9670;&#160;</a></span>SceneRefGetUorPerMaster()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double SSDPNET::ScenesFunctions::SceneRefGetUorPerMaster </td>
          <td>(</td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>SceneRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取模型主单位对应的uor值 </p>
<dl class="section return"><dt>返回</dt><dd>double </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SceneRef</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
<a id="a0fb37aae75e56c994c8c068456afc9da" name="a0fb37aae75e56c994c8c068456afc9da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fb37aae75e56c994c8c068456afc9da">&#9670;&#160;</a></span>SceneRefGetUorPerMeter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double SSDPNET::ScenesFunctions::SceneRefGetUorPerMeter </td>
          <td>(</td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>SceneRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取模型每米对应的uor值 </p>
<dl class="section return"><dt>返回</dt><dd>double </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SceneRef</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
<a id="a8fe3b3c58db184da67bd6b7abaf1c57b" name="a8fe3b3c58db184da67bd6b7abaf1c57b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fe3b3c58db184da67bd6b7abaf1c57b">&#9670;&#160;</a></span>SceneRefIsReference()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SSDPNET::ScenesFunctions::SceneRefIsReference </td>
          <td>(</td>
          <td class="paramtype">ATEC::ATDataCoreNET::ATSceneRef&#160;</td>
          <td class="paramname"><em>SceneRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 检查给定的模型是否是参照模型 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">SceneRef</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/13 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
